package com.sew.sewweb.service.impl;

import com.sew.sewweb.common.utils.PageUtils;
import com.sew.sewweb.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.sew.sewweb.mapper.ColSummaryMapper;
import com.sew.sewweb.bean.ColSummaryEntity;
import com.sew.sewweb.service.ColSummaryService;


@Service("colSummaryService")
public class ColSummaryServiceImpl extends ServiceImpl<ColSummaryMapper, ColSummaryEntity> implements ColSummaryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ColSummaryEntity> page = this.page(
                new Query<ColSummaryEntity>().getPage(params),
                new QueryWrapper<ColSummaryEntity>()
        );

        return new PageUtils(page);
    }

}